var role = {};
role.getArray = function(){
   return [
        {
            name:"owner",
            title:"拥有者"

        },
        {
            name:"admin",
            tilte:"管理员"
        },
        {
            name:"developer",
            title:"开发者"
        },
        {
           name:"observer",
           title:"观察者"
        }

    ];
};

role.getMap = function(){
    return {
        "owner":"拥有者",
        "admin":"管理员",
        "developer":"开发者",
        "observer":"观察者"
    }
};



module.exports = role;